%%
%% This is file `praktikum.cls',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% praktikum.dtx  (with options: `class')
%% 
%% Copyright (C) 2004 
%% 
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{praktikum}
    [2004/02/14 Document class for Phisical Practicum Proceeding]
\LoadClass[a4paper,onecolumn,fleqn,12pt]{article}
\usepackage[czech]{babel}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{calc}
\usepackage{layout}
\usepackage[pdftex]{graphicx}   
\usepackage{ulem}
\usepackage{ae}

\setlength{\textwidth}{\paperwidth-5cm}
\setlength{\textheight}{\paperheight-5cm}
\setlength{\hoffset}{2.5cm-1in} 
\setlength{\voffset}{2.5cm-1in}
\setlength{\oddsidemargin}{0pt} 
\setlength{\evensidemargin}{0pt}
\setlength{\topmargin}{-1.2cm}
\setlength{\headsep}{-\topmargin-\headheight}
\setlength{\marginparsep}{5pt} 
\setlength{\marginparwidth}{2cm}
   
%\setcounter{secnumdepth}{-1}

\pagestyle{plain}

\hfuzz = 1pt
\tolerance = 1000
\widowpenalty = 10000
\clubpenalty = 8000

\def\@jmeno{}
\def\@predmet{}
\def\@rocnik{}
\def\@obor{}
\def\@skupina{}
\def\@labskup{}
\def\@spolupracoval{}
\def\@ucitel{}
\def\@merenodne{}
\def\@odevzdanodne{}
\def\@priprava{}
\def\@opravy{}
\def\@nazev{}
\def\@cislo{}

\def\jmeno #1{\def\@jmeno{#1}}
\def\predmet #1{\def\@predmet{#1}}
\def\rocnik #1{\def\@rocnik{#1}}
\def\obor #1{\def\@obor{#1}}
\def\skupina #1{\def\@skupina{#1}}
\def\labskup #1{\def\@labskup{#1}}
\def\spolupracoval #1{\def\@spolupracoval{#1}}
\def\ucitel #1{\def\@ucitel{#1}}
\def\merenodne #1{\def\@merenodne{#1}}
\def\odevzdanodne #1{\def\@odevzdanodne{#1}}
\def\priprava #1{\def\@priprava{#1}}
\def\opravy #1{\def\@opravy{#1}}
\def\nazev #1{\def\@nazev{#1}}
\def\cislo #1{\def\@cislo{#1}}

\def\hposuna{\hspace*{-2\fboxrule}}
\def\hposunb{\hspace*{-4\fboxrule}}
\def\hposunc{\hspace*{-1\fboxrule}}
\def\hposund{\hspace*{-5\fboxrule}}
\def\vposuna{\vspace*{-4\fboxrule}}
\def\vposunb{\vspace*{-1.7\fboxrule}}
\def\vposunc{\vspace*{+1.25\fboxrule}}

\renewcommand{\maketitle}{%
  Ústav radioelektroniky FEKT VUT Brno
  \vspace{-0pt}
  \begin{center}%
  \fboxrule=1mm%
  \fbox{\parbox[t][5,4cm]{15cm}{%
    \fboxrule=0.35mm%

    \vposuna\hposunb\fbox{\parbox[b][1cm][c]{9cm}{%
	Předmět:~\@predmet
	\par ~
      }}%
	\hposunc
    \fbox{\parbox[b][1cm][c]{5,8cm}{%
      \hposunb\fbox{\parbox[t][1cm]{3cm}{%
        Jméno:\par%
        \@jmeno}}%
      \hposunc\fbox{\parbox[t][1cm]{2,55cm}{%
        Skupina:\par \@skupina}}%
    }}

	\vposunb\hposunb\fbox{\parbox[b][2,5cm][t]{9cm}{
		Úloha:\bf~\@nazev
    }}
	\hposunb
    \fbox{\parbox[b][2,5cm][c]{5,8cm}{%
		\vposunb
		\vposunc
      \hposunb\fbox{\parbox[t][1,15cm]{3cm}{%
        Měřeno dne:\par%
        \@merenodne}}%
      \hposunc\fbox{\parbox[t][1,15cm]{2,55cm}{%
        číslo úlohy:\par \@cislo }}%
		\vposunb
		\par
	  \hposunb\fbox{\parbox[t][1,1cm]{3cm}{%
        Odevzdáno dne:\par%
        \@odevzdanodne}}%
      \hposunc\fbox{\parbox[t][1,1cm]{2,55cm}{%
        Klasifikace:\par~ }}%
	}}
	


	
  }}%
  \end{center}%
}

\catcode`\"=\active
\def"{\bgroup\quotedblbase\def"{\textquotedblleft\egroup}}

%\newcommand{\uv}[1]{\raisebox{-1.3ex}[0ex][0ex]{''}\kern-.1ex#1\kern-.1ex``}

\AtBeginDocument{\catcode`\"=\active}
\endinput
%%
%% End of file `praktikum.cls'. 
